.markdown{
    color: #fff;
    font-size: 14px;

    h1 {
        color: #fff;
        font-weight: 500;
        margin-bottom: 20px;
        margin-top: 8px;
        font-size: 30px;
        font-variant: tabular-nums;
        line-height: 38px;
    }

    h2,h3,h4,h5 {
        color: #fff;
    }

    .code-box {
        border: 1px solid #2a303a;
        border-radius: 2px;
        display: inline-block;
        width: 100%;
        position: relative;
        margin: 0 0 16px;
        transition: all .2s;
        background: #21252c;
    }

    .code-box-demo {
        border-bottom: 1px solid #2a303a;
        padding: 42px 24px 50px;
        color: #fff;
    }

    .code-box-meta.markdown {
        position: relative;
        width: 100%;
        font-size: 14px;
        border-radius: 0 0 2px 2px;
        transition: background-color .4s;
    }

    .code-box-meta h4, section.code-box-meta .demo-description > .code-box-des, section.code-box-meta .code-box-des {
        margin: 0;
        width: 98%;
    }

    .code-box-meta ul{
        margin-bottom: 15px;
    }

    .code-box-meta .demo-description > h4, .code-box-meta > h4 {
        position: absolute;
        top: -14px;
        padding: 1px 8px;
        margin-left: 16px;
        color: #c2cadc;
        border-radius: 2px 2px 0 0;
        background: #21252c;
        font-size: 14px;
        width: auto;
    }

    .code-box-meta .demo-description > .code-box-des, .code-box-meta > .code-box-des {
        font-size: 12px;
        margin: .5em 0;
        padding: 18px 24px 12px;
        width: 100%;
        word-break: break-word;
    }

    .code-box-actions {
        padding: 6px 0;
        text-align: center;
        opacity: .7;
        transition: opacity .3s;
        display: flex;
        justify-content: center;

        .code-box-btn + .code-box-btn{
            margin-left: 10px;
        }

        .code-box-btn{
            display: flex;
            align-items: center;
            cursor: pointer;
            color: #c2cadc;

            &:hover{
                color: #1890ff;

                i{
                    color: #1890ff;
                }
            }

            i{
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }
    }

    .code-box-actions, .code-box .highlight:not(:first-child) {
        border-top: 1px dashed #2a303a;
    }

    .code-box .code-expand-icon {
        cursor: pointer;
    }

    .code-box-actions > form, .code-box-actions> i, .code-box-actions > span {
        position: relative;
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-left: 16px;
        vertical-align: top;
    }
    
    .anticon-copy, .anticon-swap {
        width: 20px;
        height: 20px;
        color: #c2cadc;
        cursor: pointer;
        transition: all .24s;
    }

    .highlight-wrapper .line-numbers{
        margin: 0;
    }
}

.markdown > table {
    font-size: 14px;
    line-height: 1.5;
    font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;
    border-width: 0;
    margin: 2em 0;
    width: 100%;

    th {
        border-width: 0 0 2px;
    }
}

.markdown > table td, .markdown > table th {
    padding: 14px 16px;
    border-width: 1px 0;
    border-color: #e8e8e8;
}

.markdown > table th {
    border-width: 0 0 2px;
}

.markdown > table td, .markdown > table th {
    padding: 14px 16px;
    border-width: 1px 0;
    border-color: #e8e8e8;
}

.markdown > table td, .markdown > table th {
    border: 1px solid #282d38;
    text-align: left;
    color: #fff;
}

.markdown > table th {
    white-space: nowrap;
    color: #b8bec5;
    font-weight: 500;
    background: #1c212c;
}

.markdown > table td:first-child {
    font-weight: 500;
    width: 20%;
    color: #1890ff;
}

.markdown > table td:nth-child(3) {
    width: 22%;
    font-size: 13px;
    color: #ff0096;
    word-break: break-all;
}

.markdown .code {
    margin: 0 1px;
    background: #f2f4f5;
    padding: .2em .4em;
    border-radius: 3px;
    font-size: .9em;
    border: 1px solid #eee;
}